package server;

import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.Set;

import subject.ISubject;

public interface IServer extends Remote {
	public ISubject getSubject(String name) throws RemoteException;
	public void disconnectSubject(String name)throws RemoteException, Exception;
	public void connectSubject(String nameSubject, String identifiant)throws RemoteException, Exception;
	public Set<String> getSubjects();
}
